package com.sgb.kjwl.view.ui.adapter.enterprise;


import android.content.Context;

import com.sgb.kjwl.R;
import com.swgk.core.customview.ScreenTextView;
import com.swgk.core.recyclerview.adapter.BaseRecycleAdapter;
import com.swgk.core.recyclerview.adapter.ItemViewHolder;

import java.util.List;

/**
 * 作者:张磊
 * 日期:2018/6/20
 * 说明:需求item
 */
public class NeedSelectAdapter extends BaseRecycleAdapter<String> {


    public NeedSelectAdapter(Context context, List<String> beans) {
        super(context, R.layout.select_item, beans);
    }

    @Override
    public void convert(ItemViewHolder holder, String item) {
        ScreenTextView stv_select = holder.getView(R.id.stv_select);
        stv_select.setText(item);
    }
}
